package com.cn.study.constant;

/**
 * @author mjy
 * @date 2021/12/21
 * @description
 */
public enum RespCode {

    SUCCESS("0", "成功")//成功
    ,FAIL("1","失败");

    private String code;
    private String msg;

    RespCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }}
